<template>
	<view class="search">
		<view class="search__warp">
			<view class="search__rightIcon">
				<ln-icon icon="ln-sousuo"></ln-icon>
			</view>
			<input type="text" :placeholder="props.placeholder"/>
			<view class="search__leftIcon">
				<ln-icon icon="ln-caidan6"></ln-icon>
			</view>
		</view>
	</view>
</template>

<script setup>
	const props = defineProps({
		placeholder: {
			type: String
		}
	})
</script>

<style lang="less" scoped>
	@import './style/index.less';
</style>